package leetcode.primary;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

public class T37 {
    List<Set<Character>> li_row = new ArrayList<>();
    List<Set<Character>> li_col = new ArrayList<>();
    List<Set<Character>> li_block = new ArrayList<>();
    public void solveSudoku(char[][] board) {
        for (int k=0;k<9;k+=3) {
            for (int i = k; i < k+3; i++) {
                for (int j = k; j < k+3; j++) {
                    if (board[i][j] != '.') {
                        li_row.get(i).add(board[i][j]);
                        li_col.get(j).add(board[i][j]);

                    }
                }
            }
        }
    }

}
